import {ApiOptions} from "@/api/http";

export const resources: ApiOptions = {
    lists: { //获取图片资源列表
        method: 'get',
        path: 'resources/lists'
    },
    add: { //增加图片
        method: 'post',
        path: 'resources/add'
    },
    switchCate: { // 转换图片分类
        method: 'post',
        path: 'resources/switchCate'
    },
    remove: { //移除图片
        method: 'post',
        path: 'resources/remove'
    },
    cate: { //图片资源分类
        method: 'get',
        path: 'resources/cate'
    },
    createCate: { //创建图片资源分类
        method: 'post',
        path: 'resources/createCate'
    },
    updateCate: { //编辑图片资源分类
        method: 'post',
        path: 'resources/updateCate'
    },
    destroyCate: { //移除建图片资源分类
        method: 'get',
        path: 'resources/destroyCate'
    }

}
